package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategySign;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategySignService {

    StrategySign get(Long id);

    List<StrategySign> listAll();

    void save(StrategySign strategySign);

    void update(StrategySign strategySign);

    PageInfo queryForList(QueryObject qo);

    void updateState(StrategySign strategySign);

    StrategySign selectByStrategyId(Long strategyId, Long userId);

    int queryGreatStatusCountByStrategyId(Long strategyId);

    int queryEnshrineStatusCountByStrategyId(Long strategyId);
}
